Chris Pollett > Old Classes >
CS174

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]

  [Submit Sec1]
  [Submit Sec2]

  [Class Sign Up Sec1]
  [Class Sign Up Sec2]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Hw6]

Practice Exams:
  [Mid1]  [Final]

                           












CS174 Fall 2008Practice Final

To study for the final I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice final is below. Here are some facts about the actual final: (a) It is comprehensive (b) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (c) You should bring photo ID. (d) There will be more than one version of the test. Each version will be of comparable difficulty. (e) It is 10 problems, 6 problems will be on material since the midterm, four problems will come from the topics covered prior to the midterm. (f) Two problems will be exactly (less typos) off of the practice final, and one will be off of practice midterm.

1. Suppose one had an XML language that had a tag foo. foo can contain 1 or more goo sub-tags. foo also has an attribute hoo which can have one value hoo. Give a DTD fragment which would define foo.

2. Redo Problem 1 using an XML Schema instead of a DTD.

3. Briefly explain the URL naming convention for REST based web services.

4. What is XSS? What is CSRF? What is an SQL injection attack?

5. What is the difference between a branch and a tag as far as version control goes? How do you create a new branch in svn?

6. Explain what Squid does when it is deployed as a proxy server versus when it is deployed as a reverse proxy server.

7. Write a simple Flex app with one button on it which says hi when clicked. Explain how to deploy this app in a web page (including code), and say what would be needed to be done to deploy this as an AIR app.

8. Explain with code how to create a video Flex app that is controlled by HTML (not Flex) buttons.

9. Briefly describe how the HITS algorithm calculates a score for a web page with respect to a given search term.

10. Give the URL rewrite rule necessary to convert a URL of the form: http://somewhere.com/headache/scenic/ to http://somewhere.com/?controller=headache&view=scenic .